﻿<%@ Control Language="C#" Inherits="Blog.Controls.FindControl" CodeFile="~/Controls/FindControl.ascx.cs" %>

<form id="findPanel" runat="server">
    <asp:ScriptManager ID="scriptManager" runat="server">
    <Services>
        <asp:ServiceReference Path="~/Finder.asmx" />
    </Services>
    <Scripts>
        <asp:ScriptReference Path="~/Controls/FindControlScripts.js" />        
    </Scripts>
    </asp:ScriptManager>
    
    Поиск: <input id="findText" type="text" onkeyup="findByText(this.value, 1)" />
    <input id="findHeaders" type="checkbox" value="true" checked="checked" onclick="findByText($get('findText').value, 1)" />в заголовках
    <input id="findContext" type="checkbox" value="true" onclick="findByText($get('findText').value, 1)"/>в содержимом

</form>

<table id="findResultTable">
</table>

<script type="text/javascript">
    OnLoad();
</script> 